package com.lc.fbtp.draftmsg.api.paper.cim.cim010;

import java.util.List;

import com.lc.fbtp.draftmsg.api.paper.MainBody;
import com.lc.fbtp.draftmsg.api.paper.MsgId;
import com.lc.fbtp.draftmsg.api.paper.OrgnlMsgId;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;

/**
 * 托管票据明细通知报文
 * @author yeyun20029
 *
 */
public class CIM010 extends MainBody {

	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -5113927029440121230L;

	/**
	 * 报文标识
	 */
	@XStreamAlias("MsgId")
	private MsgId MsgId;
	
	/**
	 * 原报文标识
	 */
	@XStreamAlias("OrgnlMsgId")
	private OrgnlMsgId OrgnlMsgId;
	
	/**
	 * 交割单编号
	 */
	@XStreamAlias("DlvOrderNo")
	private String DlvOrderNo;
	/**
	 * 票据基本信息
	 */
	@XStreamAlias("ComrclDrft")
	private ComrclDrft ComrclDrft;
	
	/**
	 * 出票人信息
	 */
	@XStreamAlias("DwrInf")
	private DwrInf DwrInf;
	
	/**
	 * 承兑人信息
	 */
	@XStreamAlias("AcptPsnInf")
	private AcptPsnInf AcptPsnInf;
	
	/**
	 * 收款人信息
	 */
	@XStreamAlias("PyeeInf")
	private PyeeInf PyeeInf;
	
	/**
	 * 解付行信息
	 */
	@XStreamAlias("RlvBnkInf")
	private RlvBnkInf RlvBnkInf;
	
	/**
	 * 票据历史行为信息
	 */
	@XStreamImplicit
	private List<HistoryInf> HistoryInfList;

	public MsgId getMsgId() {
		return MsgId;
	}

	public void setMsgId(MsgId msgId) {
		MsgId = msgId;
	}

	public OrgnlMsgId getOrgnlMsgId() {
		return OrgnlMsgId;
	}

	public void setOrgnlMsgId(OrgnlMsgId orgnlMsgId) {
		OrgnlMsgId = orgnlMsgId;
	}

	public String getDlvOrderNo() {
		return DlvOrderNo;
	}

	public void setDlvOrderNo(String dlvOrderNo) {
		DlvOrderNo = dlvOrderNo;
	}

	public ComrclDrft getComrclDrft() {
		return ComrclDrft;
	}

	public void setComrclDrft(ComrclDrft comrclDrft) {
		ComrclDrft = comrclDrft;
	}

	public DwrInf getDwrInf() {
		return DwrInf;
	}

	public void setDwrInf(DwrInf dwrInf) {
		DwrInf = dwrInf;
	}

	public AcptPsnInf getAcptPsnInf() {
		return AcptPsnInf;
	}

	public void setAcptPsnInf(AcptPsnInf acptPsnInf) {
		AcptPsnInf = acptPsnInf;
	}

	public PyeeInf getPyeeInf() {
		return PyeeInf;
	}

	public void setPyeeInf(PyeeInf pyeeInf) {
		PyeeInf = pyeeInf;
	}

	public RlvBnkInf getRlvBnkInf() {
		return RlvBnkInf;
	}

	public void setRlvBnkInf(RlvBnkInf rlvBnkInf) {
		RlvBnkInf = rlvBnkInf;
	}

	public List<HistoryInf> getHistoryInfList() {
		return HistoryInfList;
	}

	public void setHistoryInfList(List<HistoryInf> historyInfList) {
		HistoryInfList = historyInfList;
	}

	@Override
	public String getId() {
		return MsgId.getId();
	}

	@Override
	public String getDtTm() {
		return MsgId.getCreDtTm();
	}

	@Override
	public String getOrgnlId() {
		return OrgnlMsgId.getId();
	}
}
